//
//  RDMediatorCenter.h
//  RDelivery
//
//  Created by selmerzhang on 2021/8/9.
//  Copyright © 2021 Tencent. All rights reserved.
//

#ifndef RDMediatorCenter_h
#define RDMediatorCenter_h

@class RDKVStorageFactoryMediator, RDNetworkMediator, RDLogMediator, RDeliveryJsonModelMediator, RDeliverySDKSettings;
@protocol RDeliveryDependProtocol;

/// 依赖注入中间层中心类，通过中间层调用注入的实现类
@interface RDMediatorCenter : NSObject

@property (nonatomic, strong, readonly) RDKVStorageFactoryMediator *kvMediator;

@property (nonatomic, strong, readonly) RDNetworkMediator *netMediator;

@property (nonatomic, strong, readonly) RDLogMediator *logMediator;

@property (nonatomic, strong, readonly) RDeliveryJsonModelMediator *jsonModelMediator;

- (instancetype)initWithDepends:(id<RDeliveryDependProtocol>)depends
                       settings:(RDeliverySDKSettings *)settings;

@end

#endif /* RDMediatorCenter_h */
